<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="/file" prefix="f"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<form id="adForm">
	<s:hidden name="model.id"></s:hidden>
	<s:hidden name="model.crateDate"></s:hidden>
	<s:hidden name="model.updateDate"></s:hidden>
	<table width="100%" border="0" id="AdTable" cellpadding="0"
		cellspacing="0" class='edit_table'>
		<tbody>
			<tr>
				<th>
					名称:
				</th>
				<td>
					<input type="text" name='model.name' value="${model.name}" style="" maxlength="50"	class="k-textbox"  />
				</td>
			</tr>
			<tr>
				<th>
					图片:
				</th>
				<td>
				<f:multiJcrop name="imgs" folder="adImg" width="300" minwidth="150" fileName="${model.imageUrl}" minheight="110" height="210"/>
				</td>
			</tr>
			<tr>
				<th>
				详情:
				</th>
				<td>
					<s:textarea name="model.detailInfo"   rows="3"  cssStyle="width:99%"></s:textarea>
				</td>
			</tr>
			<tr>
				<th>
				显示状态:
				</th>
				<td class="s_checkboxlist" >
				    <s:if test='1==model.state'>
				    <s:radio list="#{'1':'显示','0':'不显示'}"  name="model.state" value="1" ></s:radio>
				    </s:if>
				    <s:elseif test='0==model.state'> <s:radio list="#{'1':'显示','0':'不显示'}"  name="model.state" value="0" ></s:radio>
				    </s:elseif>
				    <s:else><s:radio list="#{'1':'显示','0':'不显示'}"  name="model.state" value="1" ></s:radio></s:else>
				</td>
			</tr>
		</tbody>
	</table>
	 <iframe name="downloadFileIframe" style="display:none" ></iframe>
</form>
